namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 中间表-硫化机请料台状态
    /// </summary>
    public DbSet<POMesCuringRequestMaterial> MesCuringRequestMaterials { get; set; }
}

/// <summary>
/// 中间表-硫化机请料台状态
/// 表[mes_curing_request_material]
/// </summary>
[Table("mes_curing_request_material")]
public class POMesCuringRequestMaterial
{
    /// <summary>
    /// 主键[mes_curing_request_material.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 硫化机左右模位置id
    /// [mes_curing_request_material.curing_loc_id)]
    /// </summary>
    [Column("curing_loc_id")]
    public long? CuringLocId { get; set; }
    /// <summary>
    /// 硫化机编号
    /// [mes_curing_request_material.equip_no)]
    /// </summary>
    [Column("equip_no")]
    public string EquipNo { get; set; }
    /// <summary>
    /// 硫化机左右模
    /// [mes_curing_request_material.equip_model)]
    /// </summary>
    [Column("equip_model")]
    public int? EquipModel { get; set; }
    /// <summary>
    /// mes中物料id
    /// [mes_curing_request_material.mes_material_id)]
    /// </summary>
    [Column("mes_material_id")]
    public string MesMaterialId { get; set; }
    /// <summary>
    /// 物料ID
    /// [mes_curing_request_material.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// 最大缓存数量
    /// [mes_curing_request_material.max_cache_count)]
    /// </summary>
    [Column("max_cache_count")]
    public int? MaxCacheCount { get; set; }
    /// <summary>
    /// 当前缓存数量
    /// [mes_curing_request_material.real_cache_count)]
    /// </summary>
    [Column("real_cache_count")]
    public int? RealCacheCount { get; set; }
    /// <summary>
    /// 是否请料	0:否；1:是
    /// [mes_curing_request_material.is_enable_request)]
    /// </summary>
    [Column("is_enable_request")]
    public int? IsEnableRequest { get; set; }
    /// <summary>
    /// 是否可放货 0:否 1:是
    /// [mes_curing_request_material.is_enable_push)]
    /// </summary>
    [Column("is_enable_push")]
    public int? IsEnablePush { get; set; }
    /// <summary>
    /// 更新时间（秒）
    /// [mes_curing_request_material.curing_time)]
    /// </summary>
    [Column("curing_time")]
    public int? CuringTime { get; set; }
    /// <summary>
    /// 当前胎胚开始硫化时间
    /// [mes_curing_request_material.current_curing_time)]
    /// </summary>
    [Column("current_curing_time")]
    public DateTime? CurrentCuringTime { get; set; }
    /// <summary>
    /// 修改标志 1:MES修改2:WMS已读取
    /// [mes_curing_request_material.mes_wms_flag)]
    /// </summary>
    [Column("mes_wms_flag")]
    public int? MesWmsFlag { get; set; }
    /// <summary>
    /// 修改标志 1:上位机修改2:WMS已读取
    /// [mes_curing_request_material.host_wms_flag)]
    /// </summary>
    [Column("host_wms_flag")]
    public int? HostWmsFlag { get; set; }
    /// <summary>
    /// 订单编号列表，使用逗号间隔。WMS写入，输送完成后删除相应的
    /// [mes_curing_request_material.order_detail_id)]
    /// </summary>
    [Column("order_detail_id")]
    public string OrderDetailId { get; set; }
    /// <summary>
    /// 机台状态（MES） 1：正常0：异常
    /// [mes_curing_request_material.equip_status_mes)]
    /// </summary>
    [Column("equip_status_mes")]
    public int? EquipStatusMes { get; set; }
    /// <summary>
    /// 机台状态（上位机）1：正常0：异常
    /// [mes_curing_request_material.equip_status_host)]
    /// </summary>
    [Column("equip_status_host")]
    public int? EquipStatusHost { get; set; }
    /// <summary>
    /// 计划硫化数量
    /// [mes_curing_request_material.plan_curing_count)]
    /// </summary>
    [Column("plan_curing_count")]
    public int? PlanCuringCount { get; set; }
    /// <summary>
    /// 实际硫化数量
    /// [mes_curing_request_material.real_curing_count)]
    /// </summary>
    [Column("real_curing_count")]
    public int? RealCuringCount { get; set; }
    /// <summary>
    /// [mes_curing_request_material.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// [mes_curing_request_material.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// [mes_curing_request_material.curing_total_time)]
    /// </summary>
    [Column("curing_total_time")]
    public int? CuringTotalTime { get; set; }
    /// <summary>
    /// 预硫化物料code
    /// [mes_curing_request_material.greentyreno_mes)]
    /// </summary>
    [Column("greentyreno_mes")]
    public string GreentyrenoMes { get; set; }
    /// <summary>
    /// 预硫化物料ID
    /// [mes_curing_request_material.greentyreno_mes_material_id)]
    /// </summary>
    [Column("greentyreno_mes_material_id")]
    public long? GreentyrenoMesMaterialId { get; set; }


}
